/*
 * BangoStatic.h
 *
 *  Created on: 27 Dec 2012
 *      Author: sonya
 */

#ifndef BANGOSTATIC_H_
#define BANGOSTATIC_H_


#include "BangoConstants.h"

#include <QNetworkAccessManager>
#include <QNetworkConfiguration>
#include <QCryptographicHash>
#include <bps/deviceinfo.h>
#include <QCoreApplication>
#include <QLocale>
#include <bb/cascades/WebSettings>
#include <QtLocationSubset/QGeoAddress>
#include <QtLocationSubset/QGeoPositionInfo>
#include <QtLocationSubset/QGeoPositionInfoSource>
#include <QtLocationSubset/QGeoSatelliteInfo>
#include <QtLocationSubset/QGeoSatelliteInfoSource>
#include <bb/device/HardwareInfo>
#include <bb/platform/PlatformInfo>
#include <bb/device/CellularNetworkInfo>


using namespace QtMobilitySubset;
using namespace bb::cascades;
using namespace bb::device;
using namespace bb::platform;


class BangoStatic : public QObject
{

	Q_OBJECT
public:
	static QString GetUserAgent();
	static QString GetUserID();
	static QDateTime GetUTCDate();
	static QString GetCountryISO();
	static int GetConnectionType();
	static QString GetOperatorConnectionType();

	static QString GetOperatingSystemName();
	static QString GetOperatingSystemVersion();

	static QString ConnectionType(int connectionType);
	static bool IsWiFiConnection();
	static bool IsRoaming();
	static QNetworkAccessManager * StaticNetworkAccessManager();
	explicit BangoStatic(QObject *parent = 0);
	~BangoStatic();


};


#endif /* BANGOSTATIC_H_ */
